﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WGtd.aspx.cs" Inherits="Me.Amon.GTD.WGtd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>阿木提醒</title>
    <link href="/GTD/GTD.css" rel="stylesheet" type="text/css" />
    <link href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <script src="/Scripts/Amon.js" type="text/javascript"></script>
    <script src="Gtd.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table id="tbgtd" border="0" cellpadding="3" cellspacing="0" class="tbl_opt">
            <tr>
                <td>
                    起始日期
                </td>
                <td>
                    <input type="text" id="gtdsd" class="date" readonly="readonly" />
                </td>
            </tr>
            <tr>
                <td>
                    提醒时间
                </td>
                <td>
                    <input type="text" id="gtdtd" class="time" />
                </td>
            </tr>
            <tr>
                <td>
                    执行周期
                </td>
                <td align="right" class="link" onclick="return showRpt();">
                    <label id="lbrpt" class="opt">
                        无
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                    结束条件
                </td>
                <td align="right" class="link" onclick="return showEnd();">
                    <label id="lbend" class="opt">
                        无
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                    提醒方式
                </td>
                <td align="right" class="link" onclick="return showEnd();">
                    <label id="lbrem" class="opt">
                        无
                    </label>
                </td>
            </tr>
        </table>
        <table id="tbrpt" border="0" cellpadding="0" cellspacing="0" class="tbl_opt" style="display: none">
            <tr>
                <td>
                    单位
                </td>
                <td>
                    <select id="gtdunit" onchange="return chgSpnr(this);">
                        <option value="second" max="60" min="5">秒</option>
                        <option value="minute" max="60" min="1">分</option>
                        <option value="hour" max="24" min="1">时</option>
                        <option value="day" max="365" min="1">日</option>
                        <option value="week" max="54" min="1">周</option>
                        <option value="month" max="12" min="1">月</option>
                        <option value="year" max="10" min="1">年</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="rbrpt" checked="checked" />
                    每隔
                </td>
                <td>
                    <input type="text" id="gtdeach" size="4" />
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="rbrpt" />
                    每到
                </td>
                <td>
                    <input type="text" id="gtdwhen" size="4" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input type="checkbox" id="w1" />周一
                    <input type="checkbox" id="w2" />周二
                    <input type="checkbox" id="w3" />周三
                    <input type="checkbox" id="w4" />周四
                    <input type="checkbox" id="w5" />周五
                    <input type="checkbox" id="w6" />周六
                    <input type="checkbox" id="w0" />周日
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    正数、倒数
                    <input type="checkbox" id="Checkbox1" />第一周
                    <input type="checkbox" id="Checkbox2" />第二周
                    <input type="checkbox" id="Checkbox3" />第三周
                    <input type="checkbox" id="Checkbox4" />第四周
                    <input type="checkbox" id="Checkbox5" />第五周
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input type="checkbox" id="m1" />一月
                    <input type="checkbox" id="m2" />二月
                    <input type="checkbox" id="m3" />三月
                    <input type="checkbox" id="m4" />四月
                    <input type="checkbox" id="m5" />五月
                    <input type="checkbox" id="m6" />六月
                    <input type="checkbox" id="m7" />七月
                    <input type="checkbox" id="m8" />八月
                    <input type="checkbox" id="m9" />九月
                    <input type="checkbox" id="m10" />十月
                    <input type="checkbox" id="m11" />十一月
                    <input type="checkbox" id="m12" />十二月
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input type="button" value="确定" onclick="return hideRpt();" />
                    <input type="button" value="取消" onclick="return hideRpt();" />
                </td>
            </tr>
        </table>
        <table id="tbend" border="0" cellpadding="0" cellspacing="0" class="tbl_opt" style="display: none">
            <tr>
                <td>
                    <input type="radio" name="rbend" checked="checked" />
                    永不结束
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="rbend" />
                    重复<input type="text" id="gtdec" size="4" />次后结束
                </td>
            </tr>
            <tr>
                <td>
                    <input type="radio" name="rbend" />
                    结束时间<input type="text" id="gtded" />
                </td>
            </tr>
            <tr>
                <td>
                    <input type="button" value="确定" onclick="return hideEnd();" />
                    <input type="button" value="取消" onclick="return hideEnd();" />
                </td>
            </tr>
        </table>
        <table id="tbrem" class="">
        </table>
    </div>
    <asp:HiddenField ID="HfUser" runat="server" />
    </form>
</body>
</html>
